package com.springcloud.controller;

import com.entities.ResponseEntity;
import com.springcloud.service.FeginService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: SpringCloud
 * @description:
 * @author: zfy
 * @create: 2020-09-07 22:24
 */
@RestController
public class FeginController {
    @Resource
    public FeginService feginService;

    @GetMapping(value = "payment/select/fegin/{id}")
    public ResponseEntity selectByid(@PathVariable("id") String id){
        ResponseEntity responseEntity = feginService.selectByid(id);
        return responseEntity;
    }
}